#! /usr/bin/env python
#coding=utf-8
# 4.1 arena1：诚实-诚实，各得50分；诚实-欺骗，欺骗方得100分；欺骗-欺骗，各得50分

def compare(l_card, r_card):
    if l_card == r_card:
        return {"left":50, "right":50}
    else:
        if l_card == "H":
            return {"left":0, "right":100}
        else:
            return {"left":100, "right":0}